↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
GOAL_IN_G(X) → U6_G(X, s2t_in_ga(X, T))
GOAL_IN_G(X) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → U3_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → U4_GA(X, Y, T, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, nil)) → U5_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
U6_G(X, s2t_out_ga(X, T)) → U7_G(X, tree_in_a(T))
U6_G(X, s2t_out_ga(X, T)) → TREE_IN_A(T)
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → U2_A(L, X, R, tree_in_a(R))
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
GOAL_IN_G(X) → U6_G(X, s2t_in_ga(X, T))
GOAL_IN_G(X) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → U3_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → U4_GA(X, Y, T, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, nil)) → U5_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
U6_G(X, s2t_out_ga(X, T)) → U7_G(X, tree_in_a(T))
U6_G(X, s2t_out_ga(X, T)) → TREE_IN_A(T)
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → U2_A(L, X, R, tree_in_a(R))
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
↳ PrologToPiTRSProof
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(tree_in_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
tree_in_a
U1_a(x0)
U2_a(x0)
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
tree_in_a
U1_a(x0)
U2_a(x0)
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PrologToPiTRSProof
S2T_IN_GA(s(X)) → S2T_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
GOAL_IN_G(X) → U6_G(X, s2t_in_ga(X, T))
GOAL_IN_G(X) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → U3_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → U4_GA(X, Y, T, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, nil)) → U5_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
U6_G(X, s2t_out_ga(X, T)) → U7_G(X, tree_in_a(T))
U6_G(X, s2t_out_ga(X, T)) → TREE_IN_A(T)
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → U2_A(L, X, R, tree_in_a(R))
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
GOAL_IN_G(X) → U6_G(X, s2t_in_ga(X, T))
GOAL_IN_G(X) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → U3_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → U4_GA(X, Y, T, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, nil)) → U5_GA(X, T, Y, s2t_in_ga(X, T))
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
U6_G(X, s2t_out_ga(X, T)) → U7_G(X, tree_in_a(T))
U6_G(X, s2t_out_ga(X, T)) → TREE_IN_A(T)
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → U2_A(L, X, R, tree_in_a(R))
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
TREE_IN_A(node(L, X, R)) → U1_A(L, X, R, tree_in_a(L))
TREE_IN_A(node(L, X, R)) → TREE_IN_A(L)
U1_A(L, X, R, tree_out_a(L)) → TREE_IN_A(R)
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(tree_in_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
tree_in_a
U1_a(x0)
U2_a(x0)
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PiDP
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
tree_in_a
U1_a(x0)
U2_a(x0)
TREE_IN_A → TREE_IN_A
TREE_IN_A → U1_A(U1_a(tree_in_a))
TREE_IN_A → U1_A(tree_out_a)
U1_A(tree_out_a) → TREE_IN_A
tree_in_a → tree_out_a
tree_in_a → U1_a(tree_in_a)
U1_a(tree_out_a) → U2_a(tree_in_a)
U2_a(tree_out_a) → tree_out_a
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
goal_in_g(X) → U6_g(X, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, T)) → U3_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, T)) → U4_ga(X, Y, T, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(T, Y, nil)) → U5_ga(X, T, Y, s2t_in_ga(X, T))
s2t_in_ga(s(X), node(nil, Y, nil)) → s2t_out_ga(s(X), node(nil, Y, nil))
s2t_in_ga(0, nil) → s2t_out_ga(0, nil)
U5_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, nil))
U4_ga(X, Y, T, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(nil, Y, T))
U3_ga(X, T, Y, s2t_out_ga(X, T)) → s2t_out_ga(s(X), node(T, Y, T))
U6_g(X, s2t_out_ga(X, T)) → U7_g(X, tree_in_a(T))
tree_in_a(nil) → tree_out_a(nil)
tree_in_a(node(L, X, R)) → U1_a(L, X, R, tree_in_a(L))
U1_a(L, X, R, tree_out_a(L)) → U2_a(L, X, R, tree_in_a(R))
U2_a(L, X, R, tree_out_a(R)) → tree_out_a(node(L, X, R))
U7_g(X, tree_out_a(T)) → goal_out_g(X)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
S2T_IN_GA(s(X), node(T, Y, nil)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(T, Y, T)) → S2T_IN_GA(X, T)
S2T_IN_GA(s(X), node(nil, Y, T)) → S2T_IN_GA(X, T)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
S2T_IN_GA(s(X)) → S2T_IN_GA(X)
From the DPs we obtained the following set of size-change graphs: